package com.ruoyi.wms.mapper;

import java.util.List;
import com.ruoyi.wms.domain.WmsReceiptOrderDetail;

/**
 * 收货订单明细Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-01
 */
public interface WmsReceiptOrderDetailMapper 
{
    /**
     * 查询收货订单明细
     * 
     * @param detailId 收货订单明细主键
     * @return 收货订单明细
     */
    public WmsReceiptOrderDetail selectWmsReceiptOrderDetailById(Long detailId);

    /**
     * 查询收货订单明细列表
     * 
     * @param wmsReceiptOrderDetail 收货订单明细
     * @return 收货订单明细集合
     */
    public List<WmsReceiptOrderDetail> selectWmsReceiptOrderDetailList(WmsReceiptOrderDetail wmsReceiptOrderDetail);

    /**
     * 根据订单编号查询收货订单明细列表
     * 
     * @param orderNo 订单编号
     * @return 收货订单明细集合
     */
    public List<WmsReceiptOrderDetail> selectWmsReceiptOrderDetailByOrderNo(String orderNo);

    /**
     * 新增收货订单明细
     * 
     * @param wmsReceiptOrderDetail 收货订单明细
     * @return 结果
     */
    public int insertWmsReceiptOrderDetail(WmsReceiptOrderDetail wmsReceiptOrderDetail);

    /**
     * 修改收货订单明细
     * 
     * @param wmsReceiptOrderDetail 收货订单明细
     * @return 结果
     */
    public int updateWmsReceiptOrderDetail(WmsReceiptOrderDetail wmsReceiptOrderDetail);

    /**
     * 删除收货订单明细
     * 
     * @param detailId 收货订单明细主键
     * @return 结果
     */
    public int deleteWmsReceiptOrderDetailById(Long detailId);

    /**
     * 批量删除收货订单明细
     * 
     * @param detailIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmsReceiptOrderDetailByIds(Long[] detailIds);

    /**
     * 根据订单编号删除收货订单明细
     * 
     * @param orderNo 订单编号
     * @return 结果
     */
    public int deleteWmsReceiptOrderDetailByOrderNo(String orderNo);
}